@class-prefix-image-viewer: ~'adm-image-viewer';

.@{class-prefix-image-viewer} {
  &-content {
    width: 100vw;
    height: 100vh;
    touch-action: none;
    user-select: none;
  }
  &-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 1;
  }
  &-slides {
    height: 100%;
    position: relative;
    z-index: 1;
    cursor: grab;
    touch-action: none;
    &-inner {
      height: 100%;
      white-space: nowrap;
      > * {
        margin-right: 16px;
      }
    }
  }
  &-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-block;
  }
  &-control {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: none;
  }
  &-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      display: block;
      max-width: 100%;
      max-height: 100%;
    }
  }
  &-indicator {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    color: #e6e6e6;
    font-size: var(--adm-font-size-6);
  }
}
